﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace MyHome.Server.PluginBase
{
    [DataContract]
    public class ValueChangedEventArgs<T>
    {
        public readonly T OldValue;

        public readonly T NewValue;

        public ValueChangedEventArgs(T oldValue, T newValue)
        {
            OldValue = oldValue;
            NewValue = newValue;
        }
    }
}

